FROM node:8.16.2
RUN mkdir -p /home/www/koa/mpa_dance_server
COPY dist /home/www/koa/mpa_dance_server
COPY package.json /home/www/koa/mpa_dance_server
RUN cd /home/www/koa/mpa_dance_server/ && npm install
EXPOSE 7072
CMD ["node", "./server.js"]